package com.xiaozhichao.databafflesys.repository.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author xiaozhichao
 * @since 2021-03-30
 */
public class BaffleUser extends Model<BaffleUser> {

    private static final long serialVersionUID=1L;

    private Long id;

    /**
     * 用户名
     */
    private String name;

    /**
     * 密码
     */
    private String password;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BaffleUser{" +
        "id=" + id +
        ", name=" + name +
        ", password=" + password +
        "}";
    }
}
